package cn.wolfcode.luowowo.comment.repository;

import cn.wolfcode.luowowo.comment.domain.Wenda;
import cn.wolfcode.luowowo.member.domain.UserInfo;
import org.springframework.data.mongodb.repository.MongoRepository;
import org.springframework.stereotype.Repository;

@Repository
public interface WendaMongoRepository extends MongoRepository<Wenda,String> {
    UserInfo findByUserId(Long userId);
}
